arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig
authorLey Foon Tan <[email protected]>
Wed, 5 Apr 2017 09:32:51 +0000 (17:32 +0800)
committerMarek Vasut <[email protected]>
Fri, 14 Apr 2017 12:06:57 +0000 (14:06 +0200)
commit707cd012e2e1dbed7150f7908727abb7bdc4c1a7
tree9278f440d699bfb81fca30223545c940feaa29af
parente11b5e8d6ef72f2e83e680d132a0617a4540f0aa
arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig

Convert Altera DDR SDRAM driver to use Kconfig method.
Enable ALTERA_SDRAM by default if it is on Gen5 target.
Arria 10 will have different driver.

Signed-off-by: Tien Fong Chee <[email protected]>
Signed-off-by: Ley Foon Tan <[email protected]>
arch/arm/mach-socfpga/Kconfig
drivers/Kconfig
drivers/ddr/Kconfig [new file with mode: 0644]
drivers/ddr/altera/Kconfig [new file with mode: 0644]
drivers/ddr/altera/Makefile
include/configs/socfpga_common.h